package com.wigem.approve.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wigem.framework.mybatis.core.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

import com.wigem.approve.vo.DaqPolicyVo;
import com.wigem.approve.entity.DaqPolicyEntity;
import org.apache.ibatis.annotations.Param;

/**
 * 楼宇政策申报Mapper接口
 *
 * @author DH
 * @date 2024-05-27
 */
@Mapper
public interface DaqPolicyMapper extends BaseMapperX<DaqPolicyEntity> {

    /**
     * 查询DaqPolicy列表
     */
    List<DaqPolicyEntity> getList(DaqPolicyVo daqPolicyVo);

    IPage<DaqPolicyEntity> getPageList(IPage<DaqPolicyEntity> page, @Param("params") DaqPolicyVo daqPolicyVo);

    /**
     * 查询DaqPolicy实体
     */
    DaqPolicyEntity getEntity(String id);

    /**
     * DaqPolicy新增
     */
    int insert(DaqPolicyEntity daqPolicyentity);


    /**
     * DaqPolicy修改
     */
    int update(DaqPolicyEntity daqPolicyentity);

    /**
     * DaqPolicy删除
     */
    int delete(String id);


    /**
     * DaqPolicy移除
     */
    int remove(String id);
}
